package com.zy.business.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zy.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Description  文档实体类
 * @Author  zhangxiaojia
 * @Date 2020-04-01
 */

@Data
@ApiModel
@TableName ("tb_document_folder" )
public class TbDocumentFolder  extends BaseEntity {

	private static final long serialVersionUID =  2868235736607894577L;

	/**
	 * 主键
	 */
   	 @TableId(value="ID")
	private Long id;

	/**
	 * 所属项目
	 */
   	 @TableField("PROJECT_ID" )
	 @ApiModelProperty(value ="所属项目")
	private Long projectId;

	/**
	 * 项目名称
	 */
	@TableField(exist = false)
	@ApiModelProperty(hidden = true)
	private String projectName;

	/**
	 * 文档标题
	 */
   	 @TableField("TITLE" )
	 @ApiModelProperty(value ="文档名称",required = true)
	private String title;
	/**
	 * 文件数
	 */
	@TableField(exist = false)
	@ApiModelProperty(hidden = true)
	private Integer fileNum;

	/**
	 * 删除标志0未删除1已删除
	 */
	@TableLogic
	@TableField(value = "del_flag")
	@ApiModelProperty(hidden = true)
	private String delFlag;

	@TableField(exist = false)
	private List<TbDocument> documentList;

}
